from django import template
from django.utils.safestring import mark_safe
from string import join

register = template.Library()

@register.filter(name='points_diff')
def points_diff(value1, value2):
    return "%+d" % (value1 - value2)